package com.rayc.mall.api.client;

import com.rayc.mall.api.dto.OrderDTO;
import com.rayc.mall.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author: Ray-C
 * @CreateTime: 2025-03-25
 * @Description: logistic服务远程调用client
 * @Version: 1.0
 */
@FeignClient("mall-logistic")
public interface OrderLogisticClient {
    @PostMapping("/logistics/create")
    Result<String> createLogistics(OrderDTO order);
}
